﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="NewCommonContentManage.ascx.cs" Inherits="UserControls_ContentControl_NewCommonContentManage" %>
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#DADADA"
    style="margin: 10px 0px 10px 0px; display: none;">
    <tr>
        <td class="form_td">
            <%--<asp:Button ID="btnSubmit" runat="server" Text="添加" CssClass="btn_default" OnClick="btnSubmit_Click" />--%>
            <input id="btnSubmit" type="button" value="添加" class="btn_default" onclick="popWindow();"
                runat="server" />
            <asp:Button ID="btnDelete" runat="server" Text="删除" CssClass="btn_default" OnClick="btnDelete_Click"
                OnClientClick="return confirm('确定要删除吗？');" />
        </td>
    </tr>
</table>
<whir:ezGridView ID="GridView1" runat="server" OnRowCommand="GridView1_RowCommand"
    Width="100%" BackColor="#CBCBCB" OnRowDataBound="GridView1_RowDataBound" CssClass="list">
    <HeaderStyle CssClass="grid_Title" Height="20px" />
    <RowStyle CssClass="grid_td" Height="23px" />
    <CustomColumns>
        <NumberColumn Align="Left" Position="0" Priority="0" Visible="False" Width="0" />
        <MultiChooseColumn Align="Left" Position="0" Priority="0" Visible="True" Width="0" />
        <RadioButtonColumn Align="Left" Position="0" Priority="0" Visible="False" Width="0" />
    </CustomColumns>
</whir:ezGridView>
<webdiyer:AspNetPager ID="AspNetPager1" runat="server" CssClass="pagebar" CustomInfoHTML="目前在第<font color=red>%currentPageIndex%</font>页,共有<font color=red>%PageCount%</font>页,共有<font color=red>%RecordCount%</font>条记录&nbsp;&nbsp;&nbsp;&nbsp;"
    FirstPageText="第一页" LastPageText="最后一页" NextPageText="下一页" OnPageChanged="AspNetPager1_PageChanged"
    PageSize="16" PrevPageText="上一页" ShowCustomInfoSection="Left" ShowInputBox="Always"
    ShowPageIndex="False" Width="98%" UrlPaging="True" SubmitButtonClass="">
</webdiyer:AspNetPager>
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#DADADA"
    id="divMessage" runat="server" visible="false">
    <tr>
        <td class="form_td"><strong>无法找到匹配的数据</strong> </td>
    </tr>
</table>

<script language="javascript" type="text/javascript">
var popUrl = '<%=AddUrl %>';
function popWindow(){
    window.location.href = popUrl;
}
</script>